package com.alibaba.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

import java.util.Arrays;

@SpringBootApplication
public class JavaSpringBoot25xDemoApplication {

    public static void main(String[] args) {
        final ApplicationContext ctx = SpringApplication.run(JavaSpringBoot25xDemoApplication.class, args);
        final String[] beanNames = ctx.getBeanDefinitionNames();
        Arrays.sort(beanNames);
        for (String beanName : beanNames) {
            System.out.println("spring boot 2.5x 自动化配置:" + beanName);
        }
    }

}
